home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #2 / Amiga Plus CD - 1999 - No. 2.iso / System-Boost / Workbench / TinyMeter / Source / TinyMeter_main / gaugeclass.h < prev    next >
C/C++ Source or Header  |  1997-02-27  |  2KB  |  78 lines

  1. /*
  2. ** GaugeClass V0.9 used for TinyMeter
  3. **
  4. ** Header file also for hismeter class!!!
  5. */
  6.  
  7. #include <utility/tagitem.h>
  8.  
  9. /* Setable only Tags */
  10. #define GAU_err_busy       15
  11. #define GAU_err_kickstart  14
  12. #define GAU_err_notavail   13
  13. #define GAU_err_nodos      12
  14. #define GAU_err_unreadable 11
  15. #define GAU_err_notpresent 10
  16. #define GAU_err_notmount   9
  17.  
  18. #define GAU_Type_gauge          0
  19. #define GAU_Type_histmeter      1
  20. #define GAU_Type_clock          2
  21.  
  22. #define MY_REFRESH              0x001F
  23.  
  24. #define GAU_TextFont            (TAG_USER + 1 )
  25. #define GAU_Min                 (TAG_USER + 2 )
  26. #define GAU_Max                 (TAG_USER + 3 )
  27. #define GAU_Current             (TAG_USER + 4 )
  28. #define GAU_Base                (TAG_USER + 5 )
  29. #define GAU_TextFormat          (TAG_USER + 6 )
  30. #define GAU_Label               (TAG_USER + 7 )
  31. #define GAU_LabelPos            (TAG_USER + 8 )
  32. #define GAU_FmtIndent           (TAG_USER + 9 )
  33. #define GAU_Type                (TAG_USER + 10)
  34. #define GAU_VolType             (TAG_USER + 11)
  35.  
  36. #define GAU_3D                  (TAG_USER + 16)
  37. #define GAU_Border              (TAG_USER + 17)
  38. #define GAU_Background          (TAG_USER + 18)
  39. #define GAU_ShadowLabel         (TAG_USER + 19)
  40. #define GAU_NoGauge             (TAG_USER + 20)
  41. #define GAU_NoFormat            (TAG_USER + 21)
  42. #define GAU_NoBase              (TAG_USER + 22)
  43. #define GAU_Expansion           (TAG_USER + 23)
  44. #define GAU_DisWhat             (TAG_USER + 24)
  45.  
  46. #define GAU_ColLabel            (TAG_USER + 32)
  47. #define GAU_ColFormat           (TAG_USER + 33)
  48. #define GAU_ColBase             (TAG_USER + 34)
  49. #define GAU_ColCurrent          (TAG_USER + 35)
  50. #define GAU_ColNegative         (TAG_USER + 36)
  51. #define GAU_ColBrightEdg        (TAG_USER + 37)
  52. #define GAU_ColDarkEdg          (TAG_USER + 38)
  53. #define GAU_ColBackground       (TAG_USER + 39)
  54.  
  55. #define GAU_UsedColors  8
  56.  
  57. /* Gettable only Tags */
  58.  
  59. #define GAU_RPBackground        (TAG_USER + 64)
  60.  
  61. #ifndef GAU_Color_XXX
  62. struct  GAU_Color
  63. {
  64.     UWORD   pen;
  65.     ULONG   red;    /* if pen is TRUE, this is the pen number */
  66.     ULONG   green;
  67.     ULONG   blue;
  68. };
  69. #define GAU_Color_XXX
  70. #endif
  71.  
  72. struct my_redraw_msg
  73. {
  74.     ULONG   MethodID;
  75.     struct  Window *win;
  76. };
  77.  
  78.